package com.md.common.utils.file;

/**
 * 功能描述：图片格式
 *
 * @author lujianping@oak168.com
 * @version 1.0
 * @date 2018-7-4 11:51
 * @since JDK 1.8
 */
public enum FileFormatEnum {

    PNG(0, "png"),
    JPG(1, "jpg");

    private int code;

    private String desc;

    FileFormatEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

}
